package com.techsoul.common.core.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "project.idworker")
public class IdWorkerProperties {

    /**
     * 机器 ID
     */
    private long workerId;

    /**
     * 数据标识 ID
     */
    private long datacenterId;

}
